3.5.20 \(\int \frac {x^3 (A+B x)}{(a+b x)^{5/2}} \, dx\)

Optimal. Leaf size=118 \[ \frac {2 a^3 (A b-a B)}{3 b^5 (a+b x)^{3/2}}-\frac {2 a^2 (3 A b-4 a B)}{b^5 \sqrt {a+b x}}-\frac {6 a \sqrt {a+b x} (A b-2 a B)}{b^5}+\frac {2 (a+b x)^{3/2} (A b-4 a B)}{3 b^5}+\frac {2 B (a+b x)^{5/2}}{5 b^5} \]

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {77} \begin {gather*} \frac {2 a^3 (A b-a B)}{3 b^5 (a+b x)^{3/2}}-\frac {2 a^2 (3 A b-4 a B)}{b^5 \sqrt {a+b x}}-\frac {6 a \sqrt {a+b x} (A b-2 a B)}{b^5}+\frac {2 (a+b x)^{3/2} (A b-4 a B)}{3 b^5}+\frac {2 B (a+b x)^{5/2}}{5 b^5} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^3*(A + B*x))/(a + b*x)^(5/2),x]

[Out]

(2*a^3*(A*b - a*B))/(3*b^5*(a + b*x)^(3/2)) - (2*a^2*(3*A*b - 4*a*B))/(b^5*Sqrt[a + b*x]) - (6*a*(A*b - 2*a*B)
*Sqrt[a + b*x])/b^5 + (2*(A*b - 4*a*B)*(a + b*x)^(3/2))/(3*b^5) + (2*B*(a + b*x)^(5/2))/(5*b^5)

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin {align*} \int \frac {x^3 (A+B x)}{(a+b x)^{5/2}} \, dx &=\int \left (\frac {a^3 (-A b+a B)}{b^4 (a+b x)^{5/2}}-\frac {a^2 (-3 A b+4 a B)}{b^4 (a+b x)^{3/2}}+\frac {3 a (-A b+2 a B)}{b^4 \sqrt {a+b x}}+\frac {(A b-4 a B) \sqrt {a+b x}}{b^4}+\frac {B (a+b x)^{3/2}}{b^4}\right ) \, dx\\ &=\frac {2 a^3 (A b-a B)}{3 b^5 (a+b x)^{3/2}}-\frac {2 a^2 (3 A b-4 a B)}{b^5 \sqrt {a+b x}}-\frac {6 a (A b-2 a B) \sqrt {a+b x}}{b^5}+\frac {2 (A b-4 a B) (a+b x)^{3/2}}{3 b^5}+\frac {2 B (a+b x)^{5/2}}{5 b^5}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 86, normalized size = 0.73 \begin {gather*} \frac {2 \left (128 a^4 B+a^3 (192 b B x-80 A b)+24 a^2 b^2 x (2 B x-5 A)-2 a b^3 x^2 (15 A+4 B x)+b^4 x^3 (5 A+3 B x)\right )}{15 b^5 (a+b x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^3*(A + B*x))/(a + b*x)^(5/2),x]

[Out]

(2*(128*a^4*B + 24*a^2*b^2*x*(-5*A + 2*B*x) + b^4*x^3*(5*A + 3*B*x) - 2*a*b^3*x^2*(15*A + 4*B*x) + a^3*(-80*A*
b + 192*b*B*x)))/(15*b^5*(a + b*x)^(3/2))

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.06, size = 110, normalized size = 0.93 \begin {gather*} \frac {2 \left (-5 a^4 B+5 a^3 A b+60 a^3 B (a+b x)-45 a^2 A b (a+b x)+90 a^2 B (a+b x)^2-45 a A b (a+b x)^2+5 A b (a+b x)^3-20 a B (a+b x)^3+3 B (a+b x)^4\right )}{15 b^5 (a+b x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(x^3*(A + B*x))/(a + b*x)^(5/2),x]

[Out]

(2*(5*a^3*A*b - 5*a^4*B - 45*a^2*A*b*(a + b*x) + 60*a^3*B*(a + b*x) - 45*a*A*b*(a + b*x)^2 + 90*a^2*B*(a + b*x
)^2 + 5*A*b*(a + b*x)^3 - 20*a*B*(a + b*x)^3 + 3*B*(a + b*x)^4))/(15*b^5*(a + b*x)^(3/2))

________________________________________________________________________________________

fricas [A]  time = 1.21, size = 117, normalized size = 0.99 \begin {gather*} \frac {2 \, {\left (3 \, B b^{4} x^{4} + 128 \, B a^{4} - 80 \, A a^{3} b - {\left (8 \, B a b^{3} - 5 \, A b^{4}\right )} x^{3} + 6 \, {\left (8 \, B a^{2} b^{2} - 5 \, A a b^{3}\right )} x^{2} + 24 \, {\left (8 \, B a^{3} b - 5 \, A a^{2} b^{2}\right )} x\right )} \sqrt {b x + a}}{15 \, {\left (b^{7} x^{2} + 2 \, a b^{6} x + a^{2} b^{5}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(B*x+A)/(b*x+a)^(5/2),x, algorithm="fricas")

[Out]

2/15*(3*B*b^4*x^4 + 128*B*a^4 - 80*A*a^3*b - (8*B*a*b^3 - 5*A*b^4)*x^3 + 6*(8*B*a^2*b^2 - 5*A*a*b^3)*x^2 + 24*
(8*B*a^3*b - 5*A*a^2*b^2)*x)*sqrt(b*x + a)/(b^7*x^2 + 2*a*b^6*x + a^2*b^5)

________________________________________________________________________________________

giac [A]  time = 1.32, size = 125, normalized size = 1.06 \begin {gather*} \frac {2 \, {\left (12 \, {\left (b x + a\right )} B a^{3} - B a^{4} - 9 \, {\left (b x + a\right )} A a^{2} b + A a^{3} b\right )}}{3 \, {\left (b x + a\right )}^{\frac {3}{2}} b^{5}} + \frac {2 \, {\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} B b^{20} - 20 \, {\left (b x + a\right )}^{\frac {3}{2}} B a b^{20} + 90 \, \sqrt {b x + a} B a^{2} b^{20} + 5 \, {\left (b x + a\right )}^{\frac {3}{2}} A b^{21} - 45 \, \sqrt {b x + a} A a b^{21}\right )}}{15 \, b^{25}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(B*x+A)/(b*x+a)^(5/2),x, algorithm="giac")

[Out]

2/3*(12*(b*x + a)*B*a^3 - B*a^4 - 9*(b*x + a)*A*a^2*b + A*a^3*b)/((b*x + a)^(3/2)*b^5) + 2/15*(3*(b*x + a)^(5/
2)*B*b^20 - 20*(b*x + a)^(3/2)*B*a*b^20 + 90*sqrt(b*x + a)*B*a^2*b^20 + 5*(b*x + a)^(3/2)*A*b^21 - 45*sqrt(b*x
 + a)*A*a*b^21)/b^25

________________________________________________________________________________________

maple [A]  time = 0.00, size = 95, normalized size = 0.81 \begin {gather*} -\frac {2 \left (-3 B \,x^{4} b^{4}-5 A \,b^{4} x^{3}+8 B a \,b^{3} x^{3}+30 A a \,b^{3} x^{2}-48 B \,a^{2} b^{2} x^{2}+120 A \,a^{2} b^{2} x -192 B \,a^{3} b x +80 A \,a^{3} b -128 B \,a^{4}\right )}{15 \left (b x +a \right )^{\frac {3}{2}} b^{5}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(B*x+A)/(b*x+a)^(5/2),x)

[Out]

-2/15/(b*x+a)^(3/2)*(-3*B*b^4*x^4-5*A*b^4*x^3+8*B*a*b^3*x^3+30*A*a*b^3*x^2-48*B*a^2*b^2*x^2+120*A*a^2*b^2*x-19
2*B*a^3*b*x+80*A*a^3*b-128*B*a^4)/b^5

________________________________________________________________________________________

maxima [A]  time = 0.87, size = 106, normalized size = 0.90 \begin {gather*} \frac {2 \, {\left (\frac {3 \, {\left (b x + a\right )}^{\frac {5}{2}} B - 5 \, {\left (4 \, B a - A b\right )} {\left (b x + a\right )}^{\frac {3}{2}} + 45 \, {\left (2 \, B a^{2} - A a b\right )} \sqrt {b x + a}}{b} - \frac {5 \, {\left (B a^{4} - A a^{3} b - 3 \, {\left (4 \, B a^{3} - 3 \, A a^{2} b\right )} {\left (b x + a\right )}\right )}}{{\left (b x + a\right )}^{\frac {3}{2}} b}\right )}}{15 \, b^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(B*x+A)/(b*x+a)^(5/2),x, algorithm="maxima")

[Out]

2/15*((3*(b*x + a)^(5/2)*B - 5*(4*B*a - A*b)*(b*x + a)^(3/2) + 45*(2*B*a^2 - A*a*b)*sqrt(b*x + a))/b - 5*(B*a^
4 - A*a^3*b - 3*(4*B*a^3 - 3*A*a^2*b)*(b*x + a))/((b*x + a)^(3/2)*b))/b^4

________________________________________________________________________________________

mupad [B]  time = 0.41, size = 103, normalized size = 0.87 \begin {gather*} \frac {\left (12\,B\,a^2-6\,A\,a\,b\right )\,\sqrt {a+b\,x}}{b^5}+\frac {2\,B\,{\left (a+b\,x\right )}^{5/2}}{5\,b^5}+\frac {\left (8\,B\,a^3-6\,A\,a^2\,b\right )\,\left (a+b\,x\right )-\frac {2\,B\,a^4}{3}+\frac {2\,A\,a^3\,b}{3}}{b^5\,{\left (a+b\,x\right )}^{3/2}}+\frac {\left (2\,A\,b-8\,B\,a\right )\,{\left (a+b\,x\right )}^{3/2}}{3\,b^5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3*(A + B*x))/(a + b*x)^(5/2),x)

[Out]

((12*B*a^2 - 6*A*a*b)*(a + b*x)^(1/2))/b^5 + (2*B*(a + b*x)^(5/2))/(5*b^5) + ((8*B*a^3 - 6*A*a^2*b)*(a + b*x)
- (2*B*a^4)/3 + (2*A*a^3*b)/3)/(b^5*(a + b*x)^(3/2)) + ((2*A*b - 8*B*a)*(a + b*x)^(3/2))/(3*b^5)

________________________________________________________________________________________

sympy [A]  time = 17.61, size = 117, normalized size = 0.99 \begin {gather*} \frac {2 B \left (a + b x\right )^{\frac {5}{2}}}{5 b^{5}} - \frac {2 a^{3} \left (- A b + B a\right )}{3 b^{5} \left (a + b x\right )^{\frac {3}{2}}} + \frac {2 a^{2} \left (- 3 A b + 4 B a\right )}{b^{5} \sqrt {a + b x}} + \frac {\left (a + b x\right )^{\frac {3}{2}} \left (2 A b - 8 B a\right )}{3 b^{5}} + \frac {\sqrt {a + b x} \left (- 6 A a b + 12 B a^{2}\right )}{b^{5}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*(B*x+A)/(b*x+a)**(5/2),x)

[Out]

2*B*(a + b*x)**(5/2)/(5*b**5) - 2*a**3*(-A*b + B*a)/(3*b**5*(a + b*x)**(3/2)) + 2*a**2*(-3*A*b + 4*B*a)/(b**5*
sqrt(a + b*x)) + (a + b*x)**(3/2)*(2*A*b - 8*B*a)/(3*b**5) + sqrt(a + b*x)*(-6*A*a*b + 12*B*a**2)/b**5

________________________________________________________________________________________